<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title>登陆页面的拖拽功能实现</title>
    <link rel="stylesheet" href="./css/index.css">
</head>

<body>
    <div class="dialog" id="dialog">
        <div class="diatitle" id="diatitle">
            登陆页
            <a href="#" class="close">&times;</a>
        </div>
        <div class="diacontent" id="diacontent">
            <form>
                <input type="text" id="txt" placeholder="请输入账号" />
                <input type="password" id="pwd" placeholder="请输入密码" />
                <input type="button" id="btn" value="登陆" />
            </form>
        </div>
    </div>
    <div id="login">登陆</div>
    <script src="./js/index.js"></script>
</body>

</html>